package com.wsoft.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * 规则解析dto
 * @Author z001
 * @Date 2024/10/16 15:15
 */
@Data
public class CodeRulesDto {

    @Schema(description = "定义规则的index")
    private Integer index;

    @Schema(description = "规则长度")
    private Integer length;

    @Schema(description = "规则类型")
    private Integer type;

    @Schema(description = "规则值")
    private Object value;

    @Schema(description = "是否补足,仅用于type为流水号的时候")
    private Integer complement;

    @Schema(description = "模板位置列表,传的index")
    private String templateIndex;
}
